<?php
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'detail';
$return=array();
if($_RQ['op']=='detail'){
	$id=intval($_RQ['id']);
	if(!$id){
		exi('未找到该科室','error','jy_yiliao/lesson_list/');
	
	}else{
		$lesson=pdo_get('jy_yiliao_lesson',array('id'=>$id));
	}
	$lesson['worktime']=json_decode($lesson['worktime'],true);
	$setting=$this->plugin_setting('setting');
	$return['lesson']=$lesson;
	$return['setting']=$setting;	
	exi($return);
}
?>